Skip to content

Conversation

@bobrik
Copy link
Contributor

@bobrik bobrik commented Mar 6, 2021

Motivation for this change

Another one to help #105026.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@bobrik bobrik requested review from FRidh and jonringer as code owners March 6, 2021 05:38
@ofborg ofborg bot added 6.topic: darwin Running or building packages on Darwin 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Mar 6, 2021
@SuperSandro2000
Copy link
Member

/rebase staging

@github-actions github-actions bot changed the base branch from master to staging March 6, 2021 14:24
@github-actions github-actions bot closed this Mar 6, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2021

Rebased, please reopen the pull request to restart CI

@ofborg ofborg bot added 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. and removed 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Mar 6, 2021
@bobrik bobrik force-pushed the ivan/trustme-wx branch from de3605b to 59b96ec Compare March 6, 2021 18:09
@bobrik bobrik requested a review from SuperSandro2000 March 7, 2021 06:21
@SuperSandro2000
Copy link
Member

Git is broken on staging so I can't test this change.

@bobrik
Copy link
Contributor Author

bobrik commented Mar 17, 2021

Staging should be good now. It would be nice to merge this.

@bobrik bobrik mentioned this pull request Mar 18, 2021
21 tasks
@thefloweringash
Copy link
Member

Is this only a test failure, or does the underlying pyOpenSSL issue make this package non-functional?

@bobrik
Copy link
Contributor Author

bobrik commented Mar 18, 2021

Some parts of pyOpenSSL are indeed broken: pyca/pyopenssl#873. I don't think that the entirety of it is broken, since there are basic functions in there that don't require callbacks.

@ofborg ofborg bot added 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. labels Apr 11, 2021
@ofborg ofborg bot removed 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Apr 11, 2021
@bobrik
Copy link
Contributor Author

bobrik commented Apr 11, 2021

Rebased, hopefully this can be merged now.

@SuperSandro2000 SuperSandro2000 merged commit ce81b01 into NixOS:staging Apr 12, 2021
@bobrik bobrik deleted the ivan/trustme-wx branch April 13, 2021 00:59
@bobrik bobrik mentioned this pull request Aug 16, 2021
11 tasks
dbaynard added a commit to dbaynard/nixpkgs that referenced this pull request Nov 11, 2022
As indicated in NixOS#175875, `pyopenssl` does not support aarch64-darwin. In
 NixOS#115226, the only test that required `pyopenssl` was disabled on
`aarch64-darwin` — but unfortunately the package doesn’t build. This
commit makes two changes.

1.  The `pyopenssl` dependency is no longer pulled in on
    `aarch64-darwin`. The derivation is no longer marked broken.

2.  The test suite is patched so that `OpenSSL.SSL` is no longer
    imported; this was only used by the disabled test. As a result
    the test suite runs (and succeeds).
dbaynard added a commit to dbaynard/nixpkgs that referenced this pull request Nov 16, 2022
As indicated in NixOS#175875, `pyopenssl` does not support aarch64-darwin. In
 NixOS#115226, the only test that required `pyopenssl` was disabled on
`aarch64-darwin` — but unfortunately the package doesn’t build. This
commit makes two changes.

1.  The `pyopenssl` dependency is no longer pulled in on
    `aarch64-darwin`. The derivation is no longer marked broken.

2.  The test suite is patched so that `OpenSSL.SSL` is no longer
    imported; this was only used by the disabled test. As a result
    the test suite runs (and succeeds).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants